﻿using System;
using System.Collections.Generic;
using System.Text;

namespace JuCheap.Core.Data.Entity
{
    /// <summary>
    /// 群组信息
    /// </summary>
    public class DepartmentGroup : Entity<int>
    {
        /// <summary>
        /// 群组名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 开放周期 1,2,5
        /// </summary>
        public string OpenCycle { get; set; }

        /// <summary>
        /// 设备id: 1,3,5,6
        /// </summary>
        //public string Devices { get; set; }

        /// <summary>
        /// 员工id: 1,23,4,6
        /// </summary>
        //public string Workers { get; set; }

        public ICollection<DepartmentGroupDevice> DepartmentGroupDevices { get; set; }

        public ICollection<DepartmentGroupWorker> DepartmentGroupWorkers { get; set; }

        public int RemoteId { get; set; }
    }
    
}
